<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>登录界面</title>
 
  <link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/dpl.css" rel="stylesheet">
  <link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/bui.css" rel="stylesheet">
   <link href="assets/css/main-min.css" rel="stylesheet" type="text/css" />
  
  <style>
  	.doc-content{
  		
  	}
  	.header{
   			height:60px;
   			background:url("assets/img/logo.png") no-repeat;
   			width:300px;
   			position:relative;
   			left:110px;
   			display:inline-block;
   			z-index:999;
   			background-size:200px 30px;
   			background-position:40px 10px;
   	}
   	.well{
   		width:100%;
   	}
  	.login{
  		width:500px;
  		margin: 0 auto;
  	}
  	.one{
  	display: inline-block;
  	width: 190px;
  	padding-left:20px;
  	}
  </style>
 
</head>
<body>

  <div class="doc-content">
  	
    <div class="well" style="height:550px; padding-top:200px;">
    	
    	<div class="login">
    		
	    	<form class=" well form-vertical loginarea" action="<%= basePath %>doLogin" method="POST">
		      <fieldset >
		      	
		        <legend><div class="header"></div></legend>
		        <div style="margin-left:140px;" >
		        	<label>账户：</label>
			        <input name="user.id" type="text" class="control-text span-width span6" placeholder="输入账户" required="required">
			        <label>密码：</label>
			        <input type="password" name="user.password"
			        class="control-text span-width span6" placeholder="输入密码" required="required">
			        <p class="auxiliary-text" style="height:30px;">
			        	<span class="one" style="color:red ;margin-top:20px;text-align:center;">
			        		<s:fielderror/><s:property value="tip"/>
		        		</span>
			        </p>
			        
		        	<button type="submit" style="margin-left:190px;margin-top:10px;" class="button button-default" >登录</button>
		        </div>
		      </fieldset>
		    </form>
    	</div>
    </div>
  </div>
<!-- script end -->

</body>
</html>